package com.yuyou.train.lesson.vo.req;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

import javax.validation.constraints.Min;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author 
 */
public class ReqLessonUpdate {

	@ApiModelProperty(value = "课程ID", required = true)
	@NotBlank(message="id不能为空")
    private String id;

	@ApiModelProperty(value = "内容概况", required = true)
	@NotBlank(message="内容概况不能为空")
	@Length(max=2000,message="内容概况(content)长度过长")
    private String content;

	@ApiModelProperty(value = "积分", required = false)
	@Min(value = 0, message = "积分必须大于等于0")
    private Integer score;

	@ApiModelProperty(value = "绩点", required = false)
	@Min(value = 0, message = "绩点必须大于0")
    private Integer mark;
	
	@ApiModelProperty(value = "节点属性", required = false)
    private String attr;

	@ApiModelProperty(value = "科目ID列表", required = false)
    private List<String> subjectIdList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}



	public Integer getMark() {
		return mark;
	}

	public void setMark(Integer mark) {
		this.mark = mark;
	}

	public String getAttr() {
		return attr;
	}

	public void setAttr(String attr) {
		this.attr = attr;
	}

	public List<String> getSubjectIdList() {
		return subjectIdList;
	}

	public void setSubjectIdList(List<String> subjectIdList) {
		this.subjectIdList = subjectIdList;
	}



 
	
	
	
}